import formBox from './components/form-box';
import handlerCache from '../../../../mixins/handler-cache';

export default {
	data() {
		return {
			prefix: 'production:prdReport:lt',
			ruleForm: {},
			showLoading: false
		};
	},
	components: {
		formBox
	},
	mixins: [handlerCache],
	methods: {
		clearCacheMethod() {
			this.$refs.formBox.clearCacheData();
		},
		onJump() {
			this.$store.dispatch('tagsView/delView', { path: this.$route.path });
			this.$toMainRouter({
				name: 'XsReport'
			});
		}
	}
};
